Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633453 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/27 - Memory Matching Game

font/ cody/swapnilsparsh/30DaysOfJavaScript/27 - Memory Matching Game/font/
1 Items
  • sans.ttf
  • assets/ cody/swapnilsparsh/30DaysOfJavaScript/27 - Memory Matching Game/assets/
    1 Items
  • memory.png
  • style.css cody/swapnilsparsh/30DaysOfJavaScript/27 - Memory Matching Game/style.css
    120 Views
    0 Comments
    * {
    box-sizing: border-box;
    font-family: "sans";
    user-select:none; /*for the user not to pull the card with the mouse*/
    }

    @font-face {
    font-family: "sans";
    index.html cody/swapnilsparsh/30DaysOfJavaScript/27 - Memory Matching Game/index.html
    335 Views
    0 Comments
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
    <link rel="shortcut icon" href="assets/memory.png" type="image/x-icon">
    script.js cody/swapnilsparsh/30DaysOfJavaScript/27 - Memory Matching Game/script.js
    179 Views
    0 Comments
    const container = document.getElementById('container');
    const cardslength = 12;
    const cards = [];

    let previousShownCard = undefined;

    let icons = [
    'linkedin',